<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="aa" uri="http://ajaxanywhere.sourceforge.net/" %>
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>jsp</title>
<script src="/webjars/jquery/3.5.1/jquery.js"></script>
<script src="/aa.js"></script>
</head>
<body>
	<h1>${msg}</h1>
	<br />
	<button type="button" id="btQuery">查询列表</button>
	<aa:zone name="zoneJ">
		<ul>
			<c:forEach var="o" items="${list}" varStatus="s">
				<li>${s.count} , id: ${o.id} , name: ${o.name} ,createDate: ${createDate}</li>
			</c:forEach>
		</ul>
	</aa:zone>
</body>
<script type="text/javascript">
	$('#btQuery').click(function() {
		ajaxAnywhere.getAJAX('/j/list', 'zoneJ');
	});
</script>
</html>
